package com.xzcf.entity;

import java.sql.Timestamp;

/**
 * AuctionRecord entity. @author MyEclipse Persistence Tools
 */

public class AuctionRecord implements java.io.Serializable {

	// Fields

	private String recordId;
	private String itemId;
	private String userName;
	private Integer price;
	private Timestamp auctionTime;

	// Constructors

	/** default constructor */
	public AuctionRecord() {
	}

	/** full constructor */
	public AuctionRecord(String itemId, String userName, Integer price,
			Timestamp auctionTime) {
		this.itemId = itemId;
		this.userName = userName;
		this.price = price;
		this.auctionTime = auctionTime;
	}

	// Property accessors

	public String getRecordId() {
		return this.recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}

	public String getItemId() {
		return this.itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Timestamp getAuctionTime() {
		return this.auctionTime;
	}

	public void setAuctionTime(Timestamp auctionTime) {
		this.auctionTime = auctionTime;
	}

}